package com.keensense.vcm.model.enums;

import javax.xml.bind.annotation.XmlEnumValue;

/**
 * 告警级别枚举
 * 
 * @author lanjian
 * @date 2020/5/27 5:28 下午
 */
public enum AlarmLevelEnum {
    @XmlEnumValue(value = "1") URGENT(1, "紧急"), @XmlEnumValue(value = "2") SERIOUS(2, "严重"),
    @XmlEnumValue(value = "3") COMMONLY(3, "一般"), @XmlEnumValue(value = "4") TIPS(4, "提示");

    AlarmLevelEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private int value;

    private String desc;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
